home *** CD-ROM | disk | FTP | other *** search
- Subject: Re[2]: Part Server
- Sent: 7/10/96 11:17 AM
- Received: 7/10/96 11:42 AM
- From: Joel Robertson, joel_robertson@AICI.COM
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Chris Hunt wrote:
- >> I have a similar problem; I want to create a service and it must be
- >>OpenDoc aware. My part service will be focused on serving the document as
- >>a whole (I could extend its scope to be cross-document, but I don't need
- >>to here). I'm writing a faceless part editor that is communicated with
- >>via AppleEvents; the preferred method of interprocess communication for
- >>MacOS 8. I'm also conforming to the AppleEvent Registry Core Suite fully
- >>('cause its the right thing to do!).
- >>
- >> So long as my service doesn't require any co-operative services, the
- >part >editor should be able to run as a pre-emptive task in the future
- >>(providing that OpenDoc enables this to happen with MacOS 8).
- >>
- >> I'd be interested in any feedback to my approach to writing services. I
- >>suspect that other services would be written in a similar fashion.
-
-
- >I'll say this again: I don't think it is a good idea to try to write a
- >"faceless" OpenDoc part. I also think that trying to make such a part
- >scriptable will be seriously confusing to users.
-
- >There are a variety of specification mechanisms that can be used to target
- >a specific part. Most of these mechanisms are dependent on the human
- >user's ability to describe the target part's relationship to the
- >containment hierarchy. This is not only difficult to do with an invisible
- >part, but the presence of the invisible part has the potential to
- >introduce unexpected behavior. For example : embedded parts can be
- >referenced by index. Even an invisible part will have an index. How does
- >is a user expected to script a document that potentially has multiple
- >invisible parts embedded in it? How does the user change the name of the
- >invisible part if they can't get to its Part Info dialog?
-
- >I seriously suggest you investigate alternative implementations. I'm still
- >not sure why extensions or even a shared library won't work in this case.
-
- >Greg Friedman.
-
-
- >___________________________________________________________
- >Greg Friedman ODF Engineering Apple Computer
-
- I haven't even gotten my feet wet with OpenDoc/ODF, so my (naive?) question
- is, how then would a spelling checker (either an as-you-type or entire
- document/selection kind) or grammar checker be implemented in OpenDoc/ODF? I
- was under the impression that these utilities would still be considered parts.
- Although they wouldn't have their own content (faceless?), they may have menu
- items for setting document-level preferences and invoking the utility on the
- parts which have content (textual content, in this case).
-
- Joel Robertson
-
-
-